Total Complexity | 1 |
Total Lines | 9 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | export default class InvalidInputError extends Error { |
||
2 | constructor(input, ...params) { |
||
3 | 26 | super(...params); |
|
4 | |||
5 | 26 | this.name = 'InvalidInputError'; |
|
6 | 26 | this.input = input; |
|
7 | 26 | this.typeOf = typeof input; |
|
8 | } |
||
9 | } |
||
10 |